### RTP Port

An RTP port is needed to stream audio to the telephone. The Push Agent sends the port information to the Trusted Push Server in the GET string. The GET string contains the variable “rtpLPort,” the telephone’s local port to be used for audio streaming.

The Push Agent responds to the server with:

Push Message Type | Syntax
“audio” | GET|POST http://server_IP_address?rtpLPort=xxxx

The RTP Local port information sent by the Push Agent to the Push Initiator from the GET request is as follows:

GET Parameter | Description
rtpLPort | RTP Local port that will be used for streaming.

NOTE: The rtpLPort is generated dynamically and might be different for every new Audio Stream Push session. The telephone will play the audio stream only on this specified port.

The code excerpt associated with Audio Push Example: (the hotel wake-up message), which will be sent as part of the Push Message, is as follows:

    <!– Following is the XML Push Request Message sent as a POST request embedded as part of form data -->

    XMLData = <?xml version="1.0"?>

    	<Push alert=“3” type=“audio” mode=“barge”>

    	<go href=“http://trusted_push_server/wake_up.xml” method=“get”>

    	</go>

    </Push>

    <!– The above message is part of the form data (XMLData) being sent in Step 1 request -->